/**
 *  Copyright (c)  2011-2020 Panguso, Inc.
 *  All rights reserved.
 *
 *  This software is the confidential and proprietary information of Panguso, 
 *  Inc. ("Confidential Information"). You shall not
 *  disclose such Confidential Information and shall use it only in
 *  accordance with the terms of the license agreement you entered into with Panguso.
 */

package cn.edu.thu.log.preprocessrule;

import java.util.ArrayList;

/**
 * 每个字段的规则，是字段与其上规则的对应关系。 一个字段上可能有多个规则，每个规则中又可能包含一个列表
 * 
 * @author wan
 * 
 */
public class TagRule {
	private String teamname = null;
	private String tagname = null;
	private String rulename = null;
	private ArrayList<String> oneTagRuleList;
/**
 * 
 * @param teamname parameter
 * @param tagname parameter
 * @param rulename parameter
 * @param oneTagRuleList parameter
 */
	public TagRule(String teamname, String tagname, String rulename,
			ArrayList<String> oneTagRuleList) {
		this.teamname = teamname;
		this.tagname = tagname;
		this.rulename = rulename;
		this.oneTagRuleList = oneTagRuleList;
	}

	public String getTeamname() {
		return teamname;
	}

	public void setTeamname(String teamname) {
		this.teamname = teamname;
	}

	public String getTagname() {
		return tagname;
	}

	public void setTagname(String tagname) {
		this.tagname = tagname;
	}

	public String getRulename() {
		return rulename;
	}

	public void setRulename(String rulename) {
		this.rulename = rulename;
	}

	public ArrayList<String> getOneTagRuleList() {
		return oneTagRuleList;
	}

	public void setOneTagRuleList(ArrayList<String> oneTagRuleList) {
		this.oneTagRuleList = oneTagRuleList;
	}

}
